import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import React from 'react';

const Footer: React.FC = () => {
  const defaultMessage = "徐洲出品(纯情男大)";
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      style={{
        background: 'none',
      }}
      copyright= {`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'user-center',
          title: '用户中心',
          href: '#',
          blankTarget: true, // 用户点击了打开新的页面
        },
        {
          key: 'github',
          title: <GithubOutlined />,
          href: '#',
          blankTarget: true,
        },
        {
          key: 'snailsXz',
          title: 'snailsXz',
          href: '#',
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
